﻿using MESPro.Controls;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing.Design;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MESPro.Models.FunctionType
{
    /// <summary>
    /// 存储过程信息
    /// </summary>
    //[TypeConverter(typeof(ExpandableObjectConverter)),
    //    Editor(typeof(PropertyReturnStoreProcedure), typeof(UITypeEditor))]
    public class StoreProInfo
    {

        #region 属性

        /// <summary>
        /// 存储过程名
        /// </summary>
        [
        //TypeConverter(typeof(ExpandableObjectConverter)),
        //Editor(typeof(PropertyReturnStoreProcedure), typeof(UITypeEditor)),
        Description("存储过程名"),
        DisplayName("\t\t过程名")]
        public string? StoreName { get; set; }
        /// <summary>
        /// 存储过程参数集合,参数带有@符号,结尾有逗号
        /// </summary>
        [
        //TypeConverter(typeof(ExpandableObjectConverter)),
        //Editor(typeof(PropertyReturnStoreProcedure), typeof(UITypeEditor)),
        Description("存储过程参数"),
        DisplayName("\t过程参数")]
        public string? StoreParms { get; set; }

        #endregion 属性

        #region Public 方法

        public override string ToString()
        {
            return "双击展开";
        }

        #endregion Public 方法

    }
}
